<!DOCTYPE>
<html>
	<head>
		<include file="Public/head" />
		<link rel="stylesheet" href="__PUBLIC__/Manage/css/table.css">
		<script type="text/javascript" src="__PUBLIC__/Manage/js/wangEditor/wangEditor.min.js"></script>
		<title>API设置</title>
		<style type="text/css">
			.layer-anim{
				top:180px !important;
			}
			.comments {  
 width:100%; 
 overflow:auto;  
 word-break:break-all;  
}
		</style>
	</head>

	<body>
		<div class="nestable">
			<div class="console-title console-title-border drds-detail-title clearfix">
				<h5>API设置</h5>
			</div>
			<div class="public-selectArea public-selectArea1 margin_10">
				<form action="{:U('Setting/api')}" method="post">
					<div class="clearfix clearfix1">
						<div class="wp_box  col-xs-8">
							<dl>
								<dt>帐户：</dt>
								<dd>
									<input type="text" name="sms_user" value="{$Think.config.sms_user|default=''}" />
								</dd>
								<!--<em class="tishi">调用接口数据账户分配的appkey，若无请至<a href="http://www.xauguo.cn" target="_blank">优果数据</a>注册申请</em>-->
							</dl>
						</div>
					</div>
					<div class="clearfix clearfix1">
						<div class="wp_box  col-xs-8">
							<dl>
								<dt>接口密码：</dt>
								<dd>
									<input type="text" name="sms_password" value="{$Think.config.sms_password|default=''}" />
								</dd>
								<!--<em class="tishi">调用接口数据账户分配的appkey，若无请至<a href="http://www.xauguo.cn" target="_blank">优果数据</a>注册申请</em>-->
							</dl>
						</div>
					</div>					
					<div class="clearfix clearfix1">
						<div class="wp_box  col-xs-8">
							<dl>
								<dt>接入码:</dt>
								<dd>
									<input type="text" name="sms_extno" value="{$Think.config.sms_extno|default=''}" />
								</dd>
								<!--<em class="tishi">调用接口数据账户分配的appkey，若无请至<a href="http://www.xauguo.cn" target="_blank">优果数据</a>注册申请</em>-->
							</dl>
						</div>
					</div>		
					<div class="clearfix clearfix1">
						<div class="wp_box  col-xs-8">
							<dl>
								<dt>短信签名：</dt>
								<dd>
									<input type="text" name="sms_name" value="{$Think.config.sms_name|default=''}" />
								</dd>
								<em class="tishi">签名以汉字组成，常常代表网站名称或机构名称</em>
							</dl>
						</div>
					</div>
	
					<div class="clearfix clearfix1">
						<div class="wp_box  col-xs-8">
							<dl>
								<dt>支付宝商户号：</dt>
								<dd>
									<input type="text" name="alipayPartner" value="{$Think.config.alipayPartner|default=''}" />
								</dd>
							</dl>
						</div>
					</div>
	
					<div class="clearfix clearfix1">
						<div class="wp_box  col-xs-8">
							<dl>
								<dt>支付宝密钥：</dt>
								<dd>
									<input type="text" name="alipayKey" value="{$Think.config.alipayKey|default=''}" />
								</dd>
							</dl>
						</div>
					</div>
	
					<div class="clearfix clearfix1">
						<div class="wp_box  col-xs-8">
							<dl>
								<dt>用户注册短信模板：</dt>
								<dd>
									<textarea rows="3" style="height: 60px;width: 325px;" name="reg_code_tpl">{$Think.config.reg_code_tpl|htmlspecialchars_decode|default=''}</textarea>
								</dd>
								<em class="tishi">使用（<@>）代替验证码</em>
							</dl>
						</div>
					</div>
	
					<div class="clearfix clearfix1">
						<div class="wp_box  col-xs-8">
							<dl>
								<dt>找回密码短信模板：</dt>
								<dd>
									<textarea rows="3" style="height: 60px;width: 325px;" name="find_code_tpl">{$Think.config.find_code_tpl|htmlspecialchars_decode|default=''}</textarea>
								</dd>
								<em class="tishi">使用（<@>）代替验证码</em>
							</dl>
						</div>
					</div>
					
					<div class="clearfix clearfix1">
						<div class="wp_box  col-xs-8">
							<dl>
								<dt>资料通过短信模板：</dt>
								<dd>
									<textarea rows="3" style="height: 60px;width: 325px;" name="info_adopt">{$Think.config.info_adopt|htmlspecialchars_decode|default=''}</textarea>
								</dd>
								<em class="tishi">网站名称使用（<@sitename@>）代替，信用额度使用（<@quota@>）代替</em>
							</dl>
						</div>
					</div>

					<div class="clearfix clearfix1">
						<div class="wp_box  col-xs-8">
							<dl>
								<dt>资料驳回短信模板：</dt>
								<dd>
									<textarea rows="3" style="height: 60px;width: 325px;" name="info_refuse">{$Think.config.info_refuse|htmlspecialchars_decode|default=''}</textarea>
								</dd>
								<em class="tishi">网站名称使用（<@sitename@>）代替</em>
							</dl>
						</div>
					</div>

					<div class="clearfix clearfix1">
						<div class="wp_box  col-xs-8">
							<dl>
								<dt>资料重置短信模板：</dt>
								<dd>
									<textarea rows="3" style="height: 60px;width: 325px;" name="info_reset">{$Think.config.info_reset|htmlspecialchars_decode|default=''}</textarea>
								</dd>
								<em class="tishi">网站名称使用（<@sitename@>）代替</em>
							</dl>
						</div>
					</div>

					<div class="clearfix clearfix1">
						<div class="wp_box  col-xs-8">
							<dl>
								<dt>借款提交短信模板：</dt>
								<dd>
									<textarea rows="3" style="height: 60px;width: 325px;" name="loan_submit">{$Think.config.loan_submit|htmlspecialchars_decode|default=''}</textarea>
								</dd>
								<em class="tishi">借款订单号使用（<@>）代替</em>
							</dl>
						</div>
					</div>
					
					<div class="clearfix clearfix1">
						<div class="wp_box  col-xs-8">
							<dl>
								<dt>借款通过短信模板：</dt>
								<dd>
									<textarea rows="3" style="height: 60px;width: 325px;" name="loan_adopt">{$Think.config.loan_adopt|htmlspecialchars_decode|default=''}</textarea>
								</dd>
								<em class="tishi">借款订单号使用（<@>）代替</em>
							</dl>
						</div>
					</div>
					
					<div class="clearfix clearfix1">
						<div class="wp_box  col-xs-8">
							<dl>
								<dt>借款驳回短信模板：</dt>
								<dd>
									<textarea rows="3" style="height: 60px;width: 325px;" name="loan_refuse">{$Think.config.loan_refuse|htmlspecialchars_decode|default=''}</textarea>
								</dd>
								<em class="tishi">借款订单号使用（<@>）代替，网站名称使用（<@sitename@>）代替</em>
							</dl>
						</div>
					</div>
					
					<div class="clearfix clearfix1">
						<div class="wp_box  col-xs-12">
							<dl>
								<dt>贷款状态模板：</dt>
								<dd>RGB颜色代码:<p class="cor"><span style="color:#E53333;margin-right:10px;"><strong>E53333</strong></span><span style="color:#00D5FF;margin-right:10px;"><strong>00D5FF</strong></span><span style="color:#E56000;margin-right:10px;"><strong>E56000</strong></span><span style="color:#666666;margin-right:10px;"><strong>666666</strong></span><span style="color:#3ed050;"><strong>3ed050</strong></span></p>
									<textarea  style="width:1300px;height:300px" name="dkstuatus">{$Think.config.dkstuatus|htmlspecialchars_decode|default=''}</textarea>
								</dd>
								<em class="tishi">一个类别用@代替(类型@颜色@描述@备注)，一句话用换号回车表示</em>
							</dl>
						</div>
					</div>
					
					<div class="clearfix clearfix1">
						<div class="wp_box  col-xs-12">
							<dl>
								<dt>转账说明模板：</dt>
								<dd>
								<textarea name="sitehuashu" class="comments" style="width:900px;height:200px">{$Think.config.sitehuashu|htmlspecialchars_decode|default=''}</textarea>
									</dd>
								<em class="tishi">一个类别用@代替，一句话用换号回车表示</em>
							</dl>
						</div>
					</div>
					
				</form>
				<div class="btnArea margin_20">
					<a href="javascript:;" class="btn btn-grayBg">
						<span class="public-label">提交</span>
					</a>
				</div>
			</div>
		</div>
	</body>
	<script type="text/javascript">
		$(function(){
			$(".btnArea a").on('click',function(){
				cvphp.submit($("form"),function(data){
					if(data.status!=1){
						layer.msg(data.info);
					}else{
						layer.alert('保存成功');
					}
				});
			});
		});
	</script>
</html>